home *** CD-ROM | disk | FTP | other *** search
Text File | 2004-10-23 | 40.0 KB | 1,427 lines |
-
- -- --------------------------------------------------- COMPONENT ID
- ID_BUTTON = 0
- ID_RADIO_BUTTON = 1
- ID_CHK_BOX = 2
- ID_EDIT_BOX = 3
- ID_LIST = 4
- ID_TEXT_BOX = 5
- ID_PICTURE_BOX = 6
- ID_FRAME = 7
- ID_SCROLL = 8
- ID_PROGRESSBAR = 9
- ID_SLIDEMENU = 10
- ID_COMPASS = 11
- ID_MINIMAP = 12
- ID_SELECTIONBOX = 13
- ID_TABLECC = 14
- ID_POOLFRAME = 15
- ID_SOLDIERPOOL_ELEM = 16
- ID_VEHICLEPOOL_ELEM = 17
-
-
- -- --------------------------------------------------- PGUITextBox type
- PGUI_SINGLELINE_TEXT = 0
- PGUI_MULTILINE_TEXT = 1
- PGUI_FILENAME = 2
-
- PGUI_SIGNED_INTEGER = 3
- PGUI_UNSIGNED_INTEGER = 4
- PGUI_FLOAT = 5
-
-
- -- --------------------------------------------------- MESAGE ID
-
- PGUI_1STBUTTON_DOWN = 0
- PGUI_1STBUTTON_UP = 1
- PGUI_1STBUTTON_CLCK = 2
- PGUI_1STBUTTON_DBLCLCK = 3
- PGUI_1STBUTTON_DRAG = 4
- PGUI_1STBUTTON_DROP = 5
- PGUI_2NDBUTTON_DOWN = 6
- PGUI_2NDBUTTON_UP = 7
- PGUI_2NDBUTTON_CLCK = 8
- PGUI_2NDBUTTON_DBLCLCK = 9
- PGUI_2NDBUTTON_DRAG = 10
- PGUI_2NDBUTTON_DROP = 11
- PGUI_POINTER_MOVE = 12
- PGUI_POINTER_HOVER = 13
- PGUI_POINTER_LEAVE = 14
- PGUI_POINTER_DRAG_HOVER = 15
- PGUI_POINTER_DRAG_LEAVE = 16
- PGUI_CHAR_PRESSED = 17
- PGUI_KEY_PRESSED = 18
- PGUI_VALUE_CHANGED = 19
- PGUI_RELEASE_FOCUS = 20
- PGUI_INITIALISATION = 21
- PGUI_ANIMATION_FINISHED = 22
-
-
-
-
- -- -------------------------------------------- PGUISelectionBox child types
-
- PGUI_SB_GROUPED_FRAME = 0
- PGUI_SB_UNGROUPED_FRAME = 1
- PGUI_SB_DETAILED_FRAME = 2
- PGUI_SB_HEALTH_TEXT = 3
- PGUI_SB_HEALTH_BAR = 4
- PGUI_SB_ARMOUR_TEXT = 5
- PGUI_SB_ARMOUR_BAR = 6
- PGUI_SB_DEFENCE_TEXT = 7
- PGUI_SB_DEFENCE_BAR = 8
- PGUI_SB_MORALE_TEXT = 9
- PGUI_SB_MORALE_BAR = 10
- PGUI_SB_CQB_TEXT = 11
- PGUI_SB_CQB_BAR = 12
- PGUI_SB_ACURACY_SOLDIER_TEXT = 13
- PGUI_SB_ACURACY_SOLDIER_BAR = 14
- PGUI_SB_VETERANCY_TEXT = 15
- PGUI_SB_VETERANCY_BAR = 16
- PGUI_SB_WEAPON_1ST = 17
- PGUI_SB_WEAPON_2ND = 18
- PGUI_SB_FIREPOWER_1ST = 19
- PGUI_SB_FIREPOWER_2ND = 20
- PGUI_SB_ACCURACY_1ST = 21
- PGUI_SB_ACCURACY_2ND = 22
- PGUI_SB_AMMORECYCLE_1ST_TEXT = 23
- PGUI_SB_AMMORECYCLE_1ST_BAR = 24
- PGUI_SB_AMMORECYCLE_2ND_TEXT = 25
- PGUI_SB_AMMORECYCLE_2ND_BAR = 26
- PGUI_SB_MAXSPEED_TEXT = 27
- PGUI_SB_MAXSPEED_BAR = 28
- PGUI_SB_SMALL_PCT = 29
- PGUI_SB_BIG_PCT = 30
-
- -- ---------------------------------------------------
-
-
- CreateGUI("Pool");
-
-
- id=GUIADDCONTROL {
- Parent = 0,
- Name = "Frame",
- Title = "Frame",
- ControlType= ID_POOLFRAME,
- BoundRect = {0,0,1024,768},
- Texture = "GUI/PoolNew.dds",
- Rec1STTexture = {0,0,1024,768},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGPOOLFRAME" },
- },
-
- };
-
- S_frame = GUIADDCONTROL {
- Parent = id,
- Name = "SoldiersFrame",
- ControlType= ID_FRAME,
- BoundRect = {5,5,5+331,5+614},
- Texture = "GUI/PoolFrame.dds",
- Title = "SoldiersFrame",
- Rec1STTexture = {5,5,5+331,5+614},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGSPOOL" },
- --{PGUI_1STBUTTON_CLCK , "" }
- },
-
- };
-
- S_upgrades = GUIADDCONTROL {
- Parent = id,
- Name = "SUpgradesFrame",
- ControlType= ID_FRAME,
- BoundRect = {685,5,685+331,5+614},
- Texture = "GUI/PoolFrame.dds",
- Title = "SUpgradesFrame",
- Rec1STTexture = {685,5,685+331,5+614},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGSUPGRADES" },
- --{PGUI_1STBUTTON_CLCK , "" }
- },
-
- };
-
- V_frame = GUIADDCONTROL {
- Parent = id,
- Name = "VehiclesFrame",
- ControlType= ID_FRAME,
- BoundRect = {685,5,685+331,5+614},
- Texture = "GUI/PoolControls.dds",
- Title = "VehiclesFrame",
- Rec1STTexture = {685,5,685+331,5+614},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGVPOOL" },
- --{PGUI_1STBUTTON_CLCK , "" }
- },
-
- };
-
-
- V_upgrades = GUIADDCONTROL {
- Parent = id,
- Name = "VUpgradesFrame",
- ControlType= ID_FRAME,
- BoundRect = {5,5,5+331,5+614},
- Texture = "GUI/PoolControls.dds",
- Title = "VUpgradesFrame",
- Rec1STTexture = {5,5,5+331,5+614},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGVUPGRADES" },
- --{PGUI_1STBUTTON_CLCK , "" }
- },
-
- };
-
-
-
- GUIADDCONTROL {
- Parent = id,
- Name = "SUpgrades",
- ControlType= ID_CHK_BOX,
- BoundRect = {351,630,351+86,630+28},
- Texture = "GUI/PoolFrame.dds",
- Title = "SUpgrades",
- Rec1STTexture = {351,630,351+86,630+28},
- Rec2NDTexture = {355,630,355+86,630+28},
- Rec3RDTexture = {351,634,351+86,634+28},
- Rec4THTexture = {355,634,355+86,634+28},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "REGSBUTTON" },
- {PGUI_VALUE_CHANGED , "SWITCHUPGRADEVIEW" }
- },
-
- };
-
- GUIADDCONTROL {
- Parent = id,
- Name = "VUpgrades",
- ControlType= ID_CHK_BOX,
- BoundRect = {578,630,578+86,630+28},
- Texture = "GUI/PoolFrame.dds",
- Title = "VUpgrades",
- Rec1STTexture = {578,630,578+86,630+28},
- Rec2NDTexture = {582,630,582+86,630+28},
- Rec3RDTexture = {578,634,582+86,634+28},
- Rec4THTexture = {582,634,582+86,634+28},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION ,"REGVBUTTON"},
- {PGUI_VALUE_CHANGED , "SWITCHUPGRADEVIEW" }
- },
- };
-
- -- ------ pool childs prototypes ---------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "SoldierPatern",
- ControlType= ID_SOLDIERPOOL_ELEM,
- BoundRect = {3,3,161,24},
- Texture = "GUI/SoldierPoolElem.dds",
- Title = "SoldierPatern",
- Rec1STTexture = {200+2,100+2,201+2,101+2}, -- empty field (normal)
- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- Rec4THTexture = {0,44,160+4,65+4}, -- (selection)
- FontHeight = 13,
- FontWidth = 8,
- FontColor = 4282157188,
-
- -- not textures
- Rec5THTexture = {0,0,21,21}, -- type dim.
- Rec6THTexture = {0+22,0,21+22,21}, -- rank dim.
- Rec7THTexture = {0+22+22,0,119+22+22,21}, -- name dim.
-
-
- };
-
-
- -- --------- marine_rifleman ----------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "Riflemans",
- ControlType= ID_TABLECC,
- BoundRect = {8-6,9-5,336-6,128-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolNew.dds",
- Title = "Riflemans",
- Rec1STTexture = {7,8,335,129},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
- };
-
-
- ------------ marine_Machinegunners ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "Machinegunners",
- ControlType= ID_TABLECC,
- BoundRect = {8-6,131-5,336-6,250-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolNew.dds",
- Title = "Machinegunners",
- Rec1STTexture = {7,131,335,252},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
- };
-
-
- ------------ marine_at ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "At",
- ControlType= ID_TABLECC,
- BoundRect = {8-6,252-5,336-6,372-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolFrame.dds",
- Title = "At",
- Rec1STTexture = {7,8,335,129},
- -- Rec1STTexture = {7,254,335,375}, -- sa defektom
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
- };
-
-
- ------------ marine_snipers ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "Snipers",
- ControlType= ID_TABLECC,
- BoundRect = {8-6,380-5,336-6,497-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolNew.dds",
- Title = "Snipers",
- Rec1STTexture = {7,377,335,498},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
-
- };
-
-
- ------------ marine_edics ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "Medics",
- ControlType= ID_TABLECC,
- BoundRect = {9-6,498-5,170-6,616-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolFrame.dds",
- Title = "Medics",
- Rec1STTexture = {8,375,170,494},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
-
- };
-
-
- ------------ marine_engineers ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_frame, -- child of soldier frame
- Name = "Engineers",
- ControlType= ID_TABLECC,
- BoundRect = {174-6,498-5,335-6,616-5},
- Long1st = ID_SOLDIERPOOL_ELEM, -- child control types
- Long2nd = 0, -- 1 for right-down , 0 for down-right
- SecRect = {3,3,166,24}, -- child control rec.
- Texture = "GUI/PoolFrame.dds",
- Title = "Engineers",
- Rec1STTexture = {173,375,335,494},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
-
- };
-
-
- ------------ W_apgrejd_vozila_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "w_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,34,325,71},
- Texture = "GUI/PoolControls.dds",
- Title = "w_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ W_apgrejd_vozila_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "w_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,75,325,112},
- Texture = "GUI/PoolControls.dds",
- Title = "w_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ W_apgrejd_vozila_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "w_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,116,325,153},
- Texture = "GUI/PoolControls.dds",
- Title = "w_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ a_apgrejd_vozila_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "a_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,184,325,222},
- Texture = "GUI/PoolControls.dds",
- Title = "a_apgrejd_vozila",
-
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ a_apgrejd_vozila_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "a_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,226,324,264},
- Texture = "GUI/PoolControls.dds",
- Title = "a_apgrejd_vozila",
-
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ a_apgrejd_vozila_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "a_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,267,325,305},
- Texture = "GUI/PoolControls.dds",
- Title = "a_apgrejd_vozila",
-
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
-
- ------------ p_apgrejd_vozila_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "p_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,335,325,374},
- Texture = "GUI/PoolControls.dds",
- Title = "p_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ p_apgrejd_vozila_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "p_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,377,325,416},
- Texture = "GUI/PoolControls.dds",
- Title = "p_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ p_apgrejd_vozila_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "p_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,419,325,458},
- Texture = "GUI/PoolControls.dds",
- Title = "p_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
-
- ------------ e_apgrejd_vozila_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "e_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,486,325,525},
- Texture = "GUI/PoolControls.dds",
- Title = "e_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ e_apgrejd_vozila_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "e_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,528,325,567},
- Texture = "GUI/PoolControls.dds",
- Title = "e_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ e_apgrejd_vozila_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = V_upgrades,
- Name = "e_apgrejd_vozila",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {7,570,325,609},
- Texture = "GUI/PoolControls.dds",
- Title = "e_apgrejd_vozila",
- Rec1STTexture = {13,39,330,76},
- -- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ w_apgrejd_vojnika_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "w_apgrejd_vojnika1",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,32,322,71},
- Texture = "GUI/PoolFrame.dds",
- Title = "w_apgrejd_vojnika1",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ w_apgrejd_vojnika_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "w_apgrejd_vojnika2",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,74,322,112},
- Texture = "GUI/PoolFrame.dds",
- Title = "w_apgrejd_vojnika2",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ w_apgrejd_vojnika_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "w_apgrejd_vojnika3",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,115,322,153},
- Texture = "GUI/PoolFrame.dds",
- Title = "w_apgrejd_vojnika3",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
-
- ------------ a_apgrejd_vojnika_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "a_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,182,322,221},
- Texture = "GUI/PoolFrame.dds",
- Title = "a_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ a_apgrejd_vojnika_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "a_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,224,322,263},
- Texture = "GUI/PoolFrame.dds",
- Title = "a_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ a_apgrejd_vojnika_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "a_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,269,322,308},
- Texture = "GUI/PoolFrame.dds",
- Title = "a_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
-
- ------------ p_apgrejd_vojnika_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "p_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,333,322,372},
- Texture = "GUI/PoolFrame.dds",
- Title = "p_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ p_apgrejd_vojnika_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "p_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,375,322,414},
- Texture = "GUI/PoolFrame.dds",
- Title = "p_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ p_apgrejd_vojnika_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "p_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,417,322,456},
- Texture = "GUI/PoolFrame.dds",
- Title = "p_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ e_apgrejd_vojnika_prvi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "e_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,484,322,523},
- Texture = "GUI/PoolFrame.dds",
- Title = "e_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ e_apgrejd_vojnika_drugi ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "e_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,526,322,564},
- Texture = "GUI/PoolFrame.dds",
- Title = "e_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
- ------------ e_apgrejd_vojnika_treci ----------------------------------
-
- GUIADDCONTROL {
- Parent = S_upgrades,
- Name = "e_apgrejd_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {5,567,322,606},
- Texture = "GUI/PoolFrame.dds",
- Title = "e_apgrejd_vojnika",
- -- Rec1STTexture = {13,39,330,76},
- Rec1STTexture = {369,3,629,31},
-
- };
-
-
- ------------ moje_prvo_dugme ----------------------------------
-
- GUIADDCONTROL {
- Parent = id, -- child of soldier frame
- Name = "dugme",
- ControlType= ID_BUTTON,
- BoundRect = {473,631,550,654},
- Texture = "GUI/PoolFrame.dds",
- Title = "dugme",
- Rec1STTexture = {473,631,550,654},
- Rec2NDTexture = {520,700,630,723},
- Rec3RDTexture = {530,320,630,354},
- Rec4THTexture = {715,623,803,652},
-
- -- Rec8 used for other config settings
- -- first : number of rows
- -- second : nuber of columns
- -- third : not used
- -- fourth : not used
- Rec8THTexture = {5,2,0,0},
-
- };
-
- ------------ krajnje_desno_dugme ----------------------------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "krajnje_desno_dugme",
- ControlType= ID_BUTTON,
- BoundRect = {895,632,1024,668},
- Texture = "Gui/PoolNEW.dds",
- Title = "krajnje_desno_dugme",
- Rec1STTexture = {895,635,1024,669},
- Rec2NDTexture = {858,568,930,588},
- Rec3RDTexture = {894,694,1007,726},
- Rec4THTexture = {551,68,651,86},
-
- };
-
- ------------ krajnje_levo_dugme ----------------------------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "krajnje_levo_dugme",
- ControlType= ID_BUTTON,
- BoundRect = {0,632,129,670},
- Texture = "Gui/PoolFrame.dds",
- Title = "krajnje_levo_dugme",
- Rec1STTexture = {0,632,129,670},
- Rec2NDTexture = {858,568,930,588},
- Rec3RDTexture = {894,694,1007,726},
- Rec4THTexture = {551,68,651,86},
-
- };
-
-
- ----------- veliko_polje_sa_slikom ----------------------------------
-
- vp_sa_slikom = GUIADDCONTROL {
- Parent = id,
- Name = "veliko polje sa slikom",
- ControlType= ID_FRAME,
- BoundRect = {366,34,657,384},
- Texture = "GUI/PoolNEW.dds",
- Title = "veliko polje sa slikom",
- Rec1STTexture = {540,166,614,176},
-
- -- Rec8THTexture = {5,2,0,0},
-
- };
-
-
- ----------- slicica ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "Slicica",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {3,3,113,119},
- Texture = "Gui/PoolNew.dds",
- Title = "Slicica",
- Rec1STTexture = {370,39,480,157},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ prvi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = " prvi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {184,9,286,16},
- Texture = "Gui/PoolNew.dds",
- Title = " prvi_progres_bar",
- -- Rec1STTexture = {516,21,583,26}, -- proba
-
- Rec1STTexture = {549,43,652,50},
- Rec2NDTexture = {549,68,652,75},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ drugi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = " drugi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {184,20,286,27},
- Texture = "Gui/PoolNew.dds",
- Title = " drugi_progres_bar",
- -- Rec1STTexture = {516,21,583,26}, -- proba
-
- Rec1STTexture = {549,43,652,50},
- Rec2NDTexture = {549,68,652,75},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ treci_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "treci_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {184,31,286,38},
- Texture = "Gui/PoolNew.dds",
- Title = "treci_progres_bar",
-
- Rec1STTexture = {549,43,652,50},
- Rec2NDTexture = {549,68,652,75},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ cetvrti_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "cetvrti_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {184,42,286,49},
- Texture = "Gui/PoolNew.dds",
- Title = "cetvrti_progres_bar",
-
- Rec1STTexture = {549,43,652,50},
- Rec2NDTexture = {549,68,652,75},
-
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ peti_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "peti_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {184,53,286,60},
- Texture = "Gui/PoolNew.dds",
- Title = "peti_progres_bar",
-
- Rec1STTexture = {549,43,652,50},
- Rec2NDTexture = {549,68,652,75},
-
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
- ----------- cin_vojnika ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "cin_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {121,79,142,100},
- Texture = "Gui/PoolNew.dds",
- Title = "cin_vojnika",
- Rec1STTexture = {488,115,507,134},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
- ----------- rang_vojnika ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "rang_vojnika",
- ControlType= ID_PICTURE_BOX,
- BoundRect = {114,100,286,119},
- Texture = "Gui/PoolNew.dds",
- Title = "rang_vojnika",
- Rec1STTexture = {481,136,651,157},
-
-
- };
-
- ------------ Ime_vojnika -----------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "Ime_vojnika",
- ControlType= ID_TEXT_BOX ,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {144,80,286,99},
- Texture = "Gui/PoolNew.dds",
- Title = "Ime_vojnika",
- FontHeight = 16,
- FontWidth = 8,
- FontColor = 4294967040,
- Rec1STTexture = {497,348,647,366},
-
- -- Rec8THTexture = {5,2,0,0},
- };
-
-
- ------------ damage_prvi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "damage_prvi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {53,146,128,153},
- Texture = "Gui/PoolNew.dds",
- Title = "damage_prvi_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
-
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ damage_drugi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "damage_drugi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {132,146,207,153},
- Texture = "Gui/PoolNew.dds",
- Title = "damage_prvi_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
-
- ------------ damage_treci_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "damage_treci_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {212,146,286,153},
- Texture = "Gui/PoolNew.dds",
- Title = "damage_treci_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ range_prvi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "range_prvi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {53,157,128,164},
- Texture = "Gui/PoolNew.dds",
- Title = "range_prvi_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ range_drugi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "range_drugi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {132,157,207,164},
- Texture = "Gui/PoolNew.dds",
- Title = "range_drugi_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ range_treci_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "range_treci_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {212,157,286,164},
- Texture = "Gui/PoolNew.dds",
- Title = "range_treci_progres_bar",
- Rec1STTexture = {421,181,493,188},
- Rec2NDTexture = {552,70,630,70},
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ improvement_prvi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "improvement_prvi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {5,180,144,200},
- Texture = "Gui/PoolNew.dds",
- Title = "improvement_prvi_progres_bar",
-
- Rec1STTexture = {374,217,507,231},
- Rec2NDTexture = {516,217,549,231},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
- ------------ improvement_drugi_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "improvement_drugi_progres_bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {149,180,286,200},
- Texture = "Gui/PoolNew.dds",
- Title = "improvement_drugi_progres_bar",
-
- Rec1STTexture = {374,217,507,231},
- Rec2NDTexture = {516,217,549,231},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
- ------------ improvement_treci_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "improvement treci progres bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {5,205,144,225}, --gde je ovo i koja je visina?
- Texture = "Gui/PoolNew.dds",
- Title = "improvement treci progres bar",
-
- Rec1STTexture = {374,217,507,231},
- Rec2NDTexture = {516,217,549,231},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
- ------------ improvement_cetvrti_progres_bar --------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "improvement cetvrti progres bar",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {149,205,286,225}, --gde je ovo i koja je visina?
- Texture = "Gui/PoolNew.dds",
- Title = "improvement cetvrti progres bar",
-
- Rec1STTexture = {374,217,507,231},
- Rec2NDTexture = {516,217,549,231},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ combat_stats_prvi ------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom,
- Name = "combat_stats_prvi",
- ControlType= ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {6,236,97,255},
- Texture = "Gui/PoolNew.dds",
- Title = "combat_stats_prvi",
- FontHeight = 16,
- FontWidth = 8,
- FontColor = 4294967040,
- Rec1STTexture = {372,270,462,288},
-
- };
-
- ------------ combat_stats_drugi ------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom,
- Name = "combat_stats_drugi",
- ControlType= ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {101,236,191,255},
- Texture = "Gui/PoolNew.dds",
- Title = "combat_stats_drugi",
- FontHeight = 16,
- FontWidth = 8,
- FontColor = 4294967040,
- Rec1STTexture = {372,270,462,288},
-
- };
-
- ------------ combat_stats_treci ------------------------------------------
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom,
- Name = "combat_stats_treci",
- ControlType= ID_TEXT_BOX,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {195,236,286,255},
- Texture = "Gui/PoolNew.dds",
- Title = "combat_stats_treci",
- FontHeight = 16,
- FontWidth = 8,
- FontColor = 4294967040,
- Rec1STTexture = {372,270,461,288},
-
- };
-
- ------------ multitext ---------------------------------------------
-
- -- ControlType= ID_TEXT_BOX,
- -- Long1st = PGUI_SINGLELINE_TEXT ,
-
- GUIADDCONTROL {
- Parent = vp_sa_slikom ,
- Name = "multitext",
- ControlType= ID_TEXT_BOX,
- Long1st = PGUI_MULTILINE_TEXT ,
- BoundRect = {6,260,286,346},
- Texture = "Gui/PoolNew.dds",
- Title = "multitext",
- Rec1STTexture = {518,301,649,377},
-
- -- RecTHTexture = {5,2,0,0},
-
- };
-
-
- ------------ prvi_text_box -----------------------------------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "prvi_text_box",
- ControlType= ID_TEXT_BOX ,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {369,10,508,29},
- Texture = "Gui/PoolFrame.dds",
- Title = "prvi_text_box",
- Rec1STTexture = {530,310,630,360},
-
- -- Rec8THTexture = {5,2,0,0},
-
- };
-
- ------------ drugi_text_box -----------------------------------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "drugi_text_box",
- ControlType= ID_TEXT_BOX ,
- Long1st = PGUI_SINGLELINE_TEXT,
- BoundRect = {513,10,652,29},
- Texture = "Gui/PoolFrame.dds",
- Title = "drugi_text_box",
- Rec1STTexture = {370,10,507,28},
-
- -- Rec8THTexture = {5,2,0,0},
-
- };
-
- ------------ tabela_za_prikaze ------------------------------------
-
- GUIADDCONTROL {
- Parent = id,
- Name = "tabela_za_prikaze",
- ControlType= ID_TABLECC,
- Long1st = ID_PICTURE_BOX,
- SecRect = {2,2,29,28},
- BoundRect = {366,422,657,597},
- Texture = "GUI/PoolNew.dds",
- Title = "tabela_za_prikaze",
-
- Rec1STTexture = {366,422,657,597}, -- empty field (normal)
-
- Rec8THTexture = {6,10,0,0},
- };
-
- ------------ battle_tanks ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = V_frame,
- Name = "battle_tanks",
- ControlType= ID_TABLECC,
- Long1st = ID_VEHICLEPOOL_ELEM ,
- SecRect = {2,2,82,59},
- BoundRect = {4,4,331,121},
- Texture = "GUI/PoolControls.dds",
- Title = "battle_tanks",
-
- Rec1STTexture = {689,9,1016,126}, -- empty field (normal)
-
- -- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- -- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- -- Rec4THTexture = {0,44+1,160+1,65+1}, -- (selection)
-
- -- not textures
- -- Rec5THTexture = {0,0,21,21}, -- type dim.
- -- Rec6THTexture = {0,0,21,21}, -- rank dim.
- -- Rec7THTexture = {0,0,119,21}, -- name dim.
-
- RecTHTexture = {2,4,0,0},
-
- };
-
-
- ------------ armour_fighting_vehicles ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = V_frame,
- Name = "armour_fighting_vehicles",
- ControlType= ID_TABLECC,
- Long1st = ID_VEHICLEPOOL_ELEM ,
- SecRect = {2,2,82,59},
- BoundRect = {4,126,331,243},
- Texture = "GUI/PoolNEW.dds",
- Title = "armour_fighting_vehicles",
-
- Rec1STTexture = {689,9,1016,126}, -- empty field (normal)
-
- -- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- -- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- -- Rec4THTexture = {0,44+1,160+1,65+1}, -- (selection)
-
- -- not textures
- -- Rec5THTexture = {0,0,21,21}, -- type dim.
- -- Rec6THTexture = {0,0,21,21}, -- rank dim.
- -- Rec7THTexture = {0,0,119,21}, -- name dim.
-
- RecTHTexture = {2,4,0,0},
-
- };
-
-
-
- ------------ light_recon_vehicles ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = V_frame,
- Name = "light_recon_vehicles",
- ControlType= ID_TABLECC,
- Long1st = ID_VEHICLEPOOL_ELEM ,
- SecRect = {2,2,82,59},
- BoundRect = {4,248,331,365},
- Texture = "GUI/PoolControls.dds",
- Title = "light_recon_vehicles",
-
- Rec1STTexture = {689,9,1016,126}, -- empty field (normal)
- -- Rec1STTexture = {7,377,335,498}, -- proba
-
- -- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- -- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- -- Rec4THTexture = {0,44+1,160+1,65+1}, -- (selection)
-
- -- not textures
- -- Rec5THTexture = {0,0,21,21}, -- type dim.
- -- Rec6THTexture = {0,0,21,21}, -- rank dim.
- -- Rec7THTexture = {0,0,119,21}, -- name dim.
-
- RecTHTexture = {2,4,0,0},
-
- };
-
-
-
- ------------ transport_vehicles ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = V_frame,
- Name = "transport_vehicles",
- ControlType= ID_TABLECC,
- Long1st = ID_VEHICLEPOOL_ELEM ,
- SecRect = {2,2,82,59},
- BoundRect = {4,370,331,487},
- Texture = "GUI/PoolNEW.dds",
- Title = "transport_vehicles",
-
- Rec1STTexture = {689,9,1016,126}, -- empty field (normal)
- -- Rec1STTexture = {7,377,335,498}, -- proba
-
- -- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- -- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- -- Rec4THTexture = {0,44+1,160+1,65+1}, -- (selection)
-
- -- not textures
- -- Rec5THTexture = {0,0,21,21}, -- type dim.
- -- Rec6THTexture = {0,0,21,21}, -- rank dim.
- -- Rec7THTexture = {0,0,119,21}, -- name dim.
-
- RecTHTexture = {2,4,0,0},
-
- };
-
-
- ------------ special_purpose_vehicles ------------------------------------------------
-
- GUIADDCONTROL {
- Parent = V_frame,
- Name = "special_purpose_vehicles",
- ControlType= ID_TABLECC,
- Long1st = ID_VEHICLEPOOL_ELEM ,
- SecRect = {2,2,82,59},
- BoundRect = {4,492,331,609},
- Texture = "GUI/PoolNEW.dds",
- Title = "specia_purpose_vehicles",
-
- Rec1STTexture = {689,9,1016,126}, -- empty field (normal)
- -- Rec1STTexture = {7,377,335,498}, -- proba
-
- -- Rec2NDTexture = {0,0,160+1,21+1}, -- (hover)
- -- Rec3RDTexture = {0,23,160+1,43+1}, -- (pressed)
- -- Rec4THTexture = {0,44+1,160+1,65+1}, -- (selection)
-
- -- not textures
- -- Rec5THTexture = {0,0,21,21}, -- type dim.
- -- Rec6THTexture = {0,0,21,21}, -- rank dim.
- -- Rec7THTexture = {0,0,119,21}, -- name dim.
-
- RecTHTexture = {2,4,0,0},
-
- };
-
- --------------------------------------------------------------------
-
-
- --
- -- Parent = ,
- -- Name = ,
- -- ControlType= ,
- -- MessageParentID = ,
- -- BoundRect = {0,0,32,32},
- -- SecRect = {0,0,0,32},
- -- Title = "",
- -- FontHeight = 18,
- -- FontWidth = 20,
- -- Long1st =,
- -- Long2nd =,
- -- Float1st =,
- -- Float2nd =,
- -- FontColor =,
- -- Texture =,
- -- Rec1STTexture =,
- -- Rec2NDTexture =,
- -- Rec3RDTexture =,
- -- Rec4THTexture =,
- -- Rec5THTexture =,
- -- Rec6THTexture =,
- -- Rec7THTexture =,
- -- Rec8THTexture =,
-
-